package com.zdy.im.user.vo.request;


import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.http.data.vo.RequestParserVo;

/**
* @ClassName: ImUserFriendShipRequestVo.java
* @Description: 用户好友列关系表的数据交互处理类
 * @Author 作者 : zdy
 * @CreateDate 创建时间: 2021-02-30
* @version V1.0.0
* <p>
    * ----------------------------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    * ----------------------------------------------------------------------------
    * </p>
*/
public class ImLoginRequestVo extends RequestParserVo{




 		@ApiDesc(value = "目前client_id等于v-client传过来", required = 1)
 		private String client_id;

 		@ApiDesc(value = "目前client_secret等于v-client-ppp传过来", required = 1)
 		private String client_secret;

 		//@ApiDesc(value = "目前grant_type等于password传过来", required = 0)
 		private String grant_type;

 		//@ApiDesc(value = "目前scope等于select传过来", required = 0)
 		private String scope;

 		@ApiDesc(value = "（登录获取token时必传）登录名，例如wangwu", required = 0)
 		private String username;

 		@ApiDesc(value = "（登录获取token时必传）密码123456", required = 0)
 		private String password;

		@ApiDesc(value = "操作类型 0:登录获取token; 1：客服初始化", required = 0)
		private int type;




    public static ImLoginRequestVo build(){
        return new ImLoginRequestVo();
    }


	public ImLoginRequestVo toClient_id(String client_id) {
		this.client_id = client_id;
		return this;
	}

	public ImLoginRequestVo toClient_secret(String client_secret) {
		this.client_secret = client_secret;
		return this;
	}

	public ImLoginRequestVo toGrant_type(String grant_type) {
		this.grant_type = grant_type;
		return this;
	}

	public ImLoginRequestVo toScope(String scope) {
		this.scope = scope;
		return this;
	}

	public ImLoginRequestVo toUsername(String username) {
		this.username = username;
		return this;
	}

	public ImLoginRequestVo toPassword(String password) {
		this.password = password;
		return this;
	}

	public String getClient_id() {
		return client_id;
	}

	public void setClient_id(String client_id) {
		this.client_id = client_id;
	}

	public String getClient_secret() {
		return client_secret;
	}

	public void setClient_secret(String client_secret) {
		this.client_secret = client_secret;
	}

	public String getGrant_type() {
		return grant_type;
	}

	public void setGrant_type(String grant_type) {
		this.grant_type = grant_type;
	}

	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public ImLoginRequestVo toType(int type) {
		this.type = type;
		return this;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
}
